import  http from './request.js'
const {request, uploadFile} = http

//获取车辆详情
export function carDetail(data) {
  return request({
    url: `mini/car/${data.data.id}`,
    method: "GET"
  })
}
//车辆加入车库
export function addGarage(data) {
  return request({
    url: '/member/carport/add',
    method: "POST",
    data: data.data
  })
}
